package com.biz.primus.model.geo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用于统一返回省市区县的信息vo
 * <p>
 * Created by maoyikun on 16-12-16.
 */
@Getter
@Setter
@ApiModel("GEO信息返回对象VO")
public class AreaResponseVo implements Serializable {

    private static final long serialVersionUID = 7287880909401502168L;

    @ApiModelProperty("前缀")
    private String prefix;
    @ApiModelProperty("省ID")
    private Long provinceId;
    /**
     * 省市区县名称
     */
    @ApiModelProperty("省市区县名称")
    private String name;
    /**
     * 省市区县对应的id
     */
    @ApiModelProperty("省市区县对应的id")
    private Long id;
    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    private BigDecimal lat;
    /**
     * 经度
     */
    @ApiModelProperty("经度")
    private BigDecimal lon;

}
